package com.swp.oa.sys.dao;

import java.util.List;

import com.swp.oa.common.dao.IBaseDao;
import com.swp.oa.common.dao.Pager;
import com.swp.oa.sys.domain.Auth;


public interface IAuthDao extends IBaseDao<Auth>{

	public void deleteByAuthIds(List<Long> ids);
	
	public void deleteByParentAuthId(Long parentAuthId);
	
	public List<Auth> selectByAuthIds(List<Long> ids);
	
	public Auth selectByCode(String code);
	
	public Pager<Auth> selectByParentAuthIdIsNullByOrder(String order, int pageIndex, int pageSize);
	
	public List<Auth> selectByParentAuthIdByOrder(long parentAuthId, String order);
}
